/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.dotexe.webframework.core.clientactions;

import org.json.JSONException;

/**
 *
 * @author milos.milosevic
 */
public class ChangeControlVisibility extends ClientActionConfiguration {

    private boolean Visible;
    private String ControlName;

    public ChangeControlVisibility() throws JSONException {
        super();
        this.setType("ChangeControlVisibility");
    }

    /**
     * @return the Text
     */
    public boolean getVisible() {
        return Visible;
    }

    /**
     * @param Text the Text to set
     */
    public void setVisible(boolean Visible) throws JSONException {
        this.put("Visible", Visible);
    }

    /**
     * @return the ControlName
     */
    public String getControlName() {
        return ControlName;
    }

    /**
     * @param ControlName the ControlName to set
     */
    public void setControlName(String ControlName) throws JSONException {
        this.put("ControlName", ControlName);
    }
}
